<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<title>我的订单</title>
		<%@include file="../common/rootPath.jsp" %>
		<link rel="stylesheet" type="text/css" href="${ctx }/css/reset.css" />
		<link rel="stylesheet" href="${ctx }/css/public.css" />
		<script src="http://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js"></script>
		<script type="text/javascript" src="${ctx }/js/jianrong.js"></script>
		<script type="text/javascript" src="${ctx }/js/fastclick.js"></script>
		<script type="text/javascript" src="${ctx}/js/common.js"></script>
	</head>

	<body>
		<header>
			<nav class="headerTwo">
				<img src="${ctx }/image/bg.png" alt="" />
				<a href="javascript:history.back(-1)" class="fl"><img src="${ctx }/image/return.png" alt="" /></a>
				<h2>我的订单</h2>
				<%@include file="../common/headerR.jsp"%> 
			</nav>
		</header>
		
		<div class="orders">
			<input type="hidden" name="queryStatus" id="queryStatus" value="${queryStatus}" />
			<div class="myOrders ">
		    	<a href="javascript:void(0);" data-id="0" onclick="orderByType('0')" class="oneA">
		    		<p>全部</p>
		    	</a>
		    	<a href="javascript:void(0);" data-id="1"  onclick="orderByType('1')">
		    		<p>待付款</p>
		    		
		    	</a>
		    	<a href="javascript:void(0);" data-id="2"  onclick="orderByType('2')">
		    		<p>待发货</p>
		    		
		    	</a>
		    	<a href="javascript:void(0);" data-id="3" onclick="orderByType('3')">
		    		<p>待收货</p>
		    		
		    	</a>
		    	<a href="javascript:void(0);" data-id="4" onclick="orderByType('4')">
		    <%-- 	<a href="${ctx}/order/myOrders?queryStatus=4"> --%>
		    		<p>待评价</p>
		    	</a>
		   </div>
		</div>
		<div class="jiange1"></div>
		
		<div id="orders_list">
			<%-- <c:forEach items="${resultList}" var="orders" varStatus="status">
				<ul class="shoppingcart_goods myGoods obligation">
					<li>
						<div class="shoppingcart_store">
							<a href="store.html">
								<img class="storeImg" src="${ctx}/image/dian.png" alt="" />
								<span>雷伊丝官方旗舰店</span>
								<img src="${ctx }/image/right.png" alt="" class="centerRight" />
								<span id="sucessbyerror">交易成功</span>
							</a>
						</div>
						<!-- 遍历商品信息 -->
						<c:forEach items="${orders.products}" var="goods">
							<div class="shoppingcartDetail ">
								<a class="sdImg" href="orderDataTh.html">
									<img src="${ctx }/image/pic5.png" alt="" class="sis"/>
									<p class="sdWordA moreWord">${goods.productName}</p>
									<p class="sdWordP">￥ ${goods.marketPrice } <span class="mWord">x ${goods.quantity }</span></p>
									<p class="sdWordC">
											<!-- <span>颜色: 天蓝色</span>
											<span>尺码: 165/s</span> -->
											<span>${goods.goods_sku_info}</span>
									</p>
								</a>
							</div>
						</c:forEach>
						
					</li>
					<li class="ordersWord">
						<p>
							<span>共${orders.itemnum}件商品 &nbsp;</span>
						    <span>合计: ¥ <b>${orders.totalAmount } </b> (含运费 ¥ 0.00)</span>
						</p>
					</li>
					<li class="ordersBtn">
						<p>
							<a href="#" class="delO">删除订单</a>
						    <a href="evaluate.html">评价</a>
						</p>
					</li>
				  </ul> --%>
				<%--   <jsp:include page="order_status.jsp" flush="true" >
						<jsp:param value="${orders.payStatus}" name="payStatus"/>
						<jsp:param value="${orders.shipStatus}" name="shipStatus"/>
						<jsp:param value="${orders.isComment}" name="isComment"/>
						<jsp:param value="${orders.isValid}" name="isValid"/>
						<jsp:param value="${orders.orderId}" name="orderId"/>
						<jsp:param value="${orders.expressCode}" name="expressCode"/>
						<jsp:param value="${orders.expressName}" name="expressName"/>
					</jsp:include> --%>
			<%-- </c:forEach> --%>
		</div>
	</body>
	<script type="text/javascript" src="${ctx }/js/public.js"></script>
	<script type="text/javascript" src="${ctx }/js/order/my_orders.js"></script>
</html>
